package com.edu.cuotibook;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * create by sym  2021/3/14 15:50.
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.edu.cuotibook"})
@EnableSwagger2
@Slf4j
@EnableAspectJAutoProxy
public class APP {
    public static void main(String[] args) {
        SpringApplication.run(APP.class, args);
        log.error("APP started sucess!");
    }
}
